package org.jeecg.modules.api.DTO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import org.jeecg.modules.api.entity.CyEmissionUnitConvert;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

/**
 * @author liyage
 * Date: 2024/11/6 17:34
 */
@Data
@ApiModel(value="碳排因子单位的新增对象", description="碳排因子单位的新增对象")
public class EmissionFactorUnitDTO {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**分组名称*/
    @Excel(name = "分组名称", width = 15)
    @ApiModelProperty(value = "分组名称")
    private java.lang.String parentName;
    /**单位*/
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "单位")
    private java.lang.String unitCode;
    /**父类ID*/
    @Excel(name = "父类ID（分组id）", width = 15)
    @ApiModelProperty(value = "父类ID（分组id）")
    private java.lang.String parentId;
    /**组织ID*/
    @Excel(name = "组织ID", width = 15)
    @ApiModelProperty(value = "组织ID")
    private java.lang.String organizationId;
    /**部门ID*/
    @Excel(name = "部门ID", width = 15)
    @ApiModelProperty(value = "部门ID")
    private java.lang.String deptId;
    /**单位换算对象的集合*/
    @ApiModelProperty(value = "单位换算对象的集合")
    private List<CyEmissionUnitConvert> unitConvertList;

}
